@import "../mixin";
//搜索框
.searchbox {
  display: block;
  width: 100%;
  background-color: #f5f5f5;
  height:90rpx;
  padding: 10rpx 30rpx;
  border-bottom:1rpx solid $light;
  .input-div{
    position: relative;
    width: 100%;
    background-color: #fff;
    border: 1rpx solid $light;
    height: 70rpx;
    border-radius: 70rpx;
    padding-left: 82rpx;
    padding-right: 30rpx;
    font-size: $text-nm;
    color: #999;
  }
  .placeholder{
    font-size: $text-nm;
    color: #999;
    font-weight:normal;
  }
  .input-div.hasval {
    color: $dark;
  }
  .span-val {
    display: inline-block;
    width: 90%;
    color: #999;
    line-height: 68rpx;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .icon-fangdajing {
    width: 68rpx;
    height:68rpx;
    text-align: center;
    line-height:68rpx;
    position: absolute;
    left: 10rpx;
    top: 50%;
    transform: translateY(-50%);
    font-size: $text-xl;
    color: #ccc;
    z-index: 10;
  }
  .icon-fangdajing:before{
    position: absolute;
    left:50%;
    top:50%;
    width: 100%;
    height:100%;
    transform: translate(-50%,-50%);
  }
  .icon-shanchu {
    width: 68rpx;
    height:68rpx;
    text-align: center;
    line-height:68rpx;
    position: absolute;
    right: 10rpx;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40rpx;
    color: #ccc;
    z-index: 2;
  }
}
